package com.cloudkinto.bo.api;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ShelfQtyDetailApiBo {
    @ApiModelProperty("上架库存属性 0正品 1次品")
    private Integer stockAttribute = 0;

    @ApiModelProperty("接收数量")
    @NotNull(message = "接收数量不能为空")
    private Integer receiptQty = 0;
}